export default {
    name: 'DynamicRender',
    functional: true,
    props: {
    	index: Number,
        params: Object,
        render: Function
    },
    render: (h, ctx) => {
    	let params = ctx.props.params;
    	params.index = ctx.props.index;
        return ctx.props.render(h, params);
    }
};